/**
* 版权声明：厦门睿商网络科技有限公司 版权所有 违者必究
* 日    期：2021-01-08
*/
package com.rzico.market.entity;

import lombok.Data;
import java.util.Date;
import javax.persistence.*;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * <pre>
 *   豆讯话费产品档案数据库对象
 * </pre>
 * @author Rzico Boot
 * @version 1.0
 */
@Data
@JsonIgnoreProperties(value = {"handler"})
@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "mk_phone_product")
public class PhoneProduct{
    @Id
    @ApiModelProperty(value = "" )
    protected Long id;

    @ApiModelProperty(value = "创建日期" )
    protected java.util.Date createDate;

    @ApiModelProperty(value = "修改日期" )
    protected java.util.Date modifyDate;

    @JsonIgnore
    @ApiModelProperty(value = "是否删除" ,hidden = true )
    protected Boolean deleted;

    @ApiModelProperty(value = "是否上架" )
    protected Boolean isMarketable;

    @ApiModelProperty(value = "成本价" )
    protected java.math.BigDecimal cost;

    @ApiModelProperty(value = "市场价" )
    protected java.math.BigDecimal marketPrice;

    @ApiModelProperty(value = "销售价" )
    protected java.math.BigDecimal price;

    @ApiModelProperty(value = "充值金额" )
    protected java.math.BigDecimal rechargeMoney;

    @ApiModelProperty(value = "名称" )
    protected String name;

    @ApiModelProperty(value = "编号" )
    protected String sn;

    @ApiModelProperty(value = "豆讯话费产品编号" )
    protected String dxPhoneSn;

    @ApiModelProperty(value = "vip1价" )
    protected java.math.BigDecimal vip1price;

    @ApiModelProperty(value = "vip2价" )
    protected java.math.BigDecimal vip2price;

    @ApiModelProperty(value = "vip3价" )
    protected java.math.BigDecimal vip3price;

    @ApiModelProperty(value = "vip4价" )
    protected java.math.BigDecimal vip4price;

    @ApiModelProperty(value = "vip5价" )
    protected java.math.BigDecimal vip5price;

    @ApiModelProperty(value = "缩略图" )
    protected String thumbnail;

    @ApiModelProperty(value = "商品类型 {1:移动,2:电信,3:联通}" )
    protected Integer type;

    @ApiModelProperty(value = "当前库存")
    protected Integer stock;

    @ApiModelProperty(value = "商品详情" )
    protected String content;

    @ApiModelProperty(value = "描述说明" )
    protected String subTitle;

    @ApiModelProperty(value = "供应商" )
    protected Long supplierId;

    @ApiModelProperty(value = "归属企业" )
    protected Long enterpriseId;

    @JsonIgnore
    @ApiModelProperty(value = "创建者" ,hidden = true )
    protected String createBy;

    @JsonIgnore
    @ApiModelProperty(value = "更新者" ,hidden = true )
    protected String modifyBy;


}
